import cv2
import numpy as np

def main():
    img = np.zeros((5, 5), dtype=np.uint8)
    img[2:3, 1:4] = 1
    kernel = np.ones((3, 1), dtype=np.uint8)
    dilation = cv2.dilate(img, kernel)

    print("Original Image:\n", img)
    print("kernel:\n", kernel)
    print("Dilated Image:\n", dilation)

if __name__ == '__main__':
    main()